From 420cb644b9c324c6975d14cb3e4f96744dd7ad5a Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 5 Apr 2006 21:29:12 +0000 Subject: [PATCH] Fix return value of try_open_gpsbabel_inifile. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1821 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/inifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/inifile.c b/gpsbabel/inifile.c index 5bf47a1c7..8b2b26d9f 100644 --- a/gpsbabel/inifile.c +++ b/gpsbabel/inifile.c @@ -113,8 +113,8 @@ open_gpsbabel_inifile(void) if (res == NULL) res = try_open_gpsbabel_inifile("/usr/local/etc"); if (res == NULL) res = try_open_gpsbabel_inifile("/etc"); #endif - if (res == NULL) return NULL; } + return res; } static void -- 2.30.2